﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Data;

namespace LYWebsite.Models
{
    public class CarModel
    {

        public CarModel(Car car)
        {
            this.CarId = car.CarId;
            this.CarName = car.CarName;
            this.Description = car.Description;
            this.ImageUrl = car.ImageUrl;
        }
        public int CarId { get; set; }
        public string CarName { get; set; }
        //public Nullable<int> Battery { get; set; }
        public string Description { get; set; }
        public string ImageUrl { get; set; }

    

    }
}